$(function(){
	$('#tt').datagrid({
		url:'/markStartRecord/getNewTaskPageList'
	});
	
});

function doSearch(){
	
	var mark=$('#mark').val();
	var appName=$('#apkName').val();
	var channelName=$('#channelName').val();
	var start=$('#start').datebox('getValue');
	var end=$('#end').datebox('getValue');
	var sysVer=$('#sysVer').combobox('getValue');
	$('#tt').datagrid({
		queryParams:{
			mark:mark,
			appName:appName,
			channelName:channelName,
			start:start,
			end:end,
			sysVer:sysVer
		}
	});
	
	$('#tt').datagrid('unselectAll');
}

function sortInfo(a,b){
	var number1 = parseFloat(a);  
	var number2 = parseFloat(b);	   
	return (number1 > number2 ? 1 : -1);    
}